

 <!--底部导航-->
    <div style="clear:both; height:1px;"></div>
<br /><br />
<footer style="border-top:1px dotted #dedede; padding-top:5px;" class="m-menu">
    <ul>
        <li id="mf1" class="current"><a href="__ROOT__/"><i class="fa fa-home"></i><span>首页</span></a></li>
        <li id="mf2"><a href="{$shop_url}"><i class="fa fa-shopping-bag"></i><span>商城</span></a></li>
        <li id="mf3"><a href="{:url('home/Listn/index?id=5')}"><i class="fa fa-list"></i><span>资讯</span></a></li>
        <li id="mf4"><a href="{:url('home/center/index')}"><i class="fa fa-user"></i><span>我的</span></a></li>
    </ul>
</footer>
    <!--/底部导航-->
<div id="to_top" class="to_stop">

<div style="display:none">
  {$site_tongji}
</div>

 
<script type="text/javascript">
	$(window).scroll(function(){
		var toTop=$(window).scrollTop();
		if(toTop>=800){
			//显示返回顶部按钮
			$('#to_top').fadeIn();
		}else{
			$('#to_top').fadeOut();	
		}
	});
	//点击返回顶部按钮
	$('#to_top').click(function(){
		//$(window).scrollTop(0)	
		$('html,body').animate({scrollTop:'0'},1000)
	});
	$(window).scroll(function(){
		var toTop=$(window).scrollTop();
		if(toTop>=500){
			//显示返回顶部按钮
			$('.search').addClass("searchtran");
		}else{
			$('.search').removeClass("searchtran");	
		}
	});
</script>